package com.tx.Xpdefect;

import org.springframework.stereotype.Component;

import com.model.Ret_prd_jge;
import com.thoughtworks.xstream.annotations.XStreamAlias;

@Component
@XStreamAlias("defList")
public class DefectInfoBeen2 {
	private String prd_seq_id_fk;
	private String defect_side;
	private String position;
	private String defect_code;
	private Integer defect_cnt;
	private String defDsc;
	private String ope_dsc;
	private String def_typ;
	private String ox_show_typ;
	
	private String path_id_fk;
	private String path_ver_fk;
	private String ope_no_fk;
	private String ope_id_fk;
	private String ope_ver_fk;
	private String proc_id;
	private String prd_grade_fk;
	private String judge_usr;
	private String judge_timestamp;
	private String show_flg;
	private Integer act_ng_qty;
	
	@Override
	public String toString() {
		return "DefectInfoBeen2 [prd_seq_id_fk=" + prd_seq_id_fk + ", defect_side=" + defect_side + ", position=" + position
				+ ", defect_code=" + defect_code + ", defect_cnt=" + defect_cnt + ", defDsc=" + defDsc + ", ope_dsc=" + ope_dsc
				+ ", def_typ=" + def_typ + ", path_id_fk=" + path_id_fk + ", path_ver_fk=" + path_ver_fk + ", ope_no_fk="
				+ ope_no_fk + ", ope_id_fk=" + ope_id_fk + ", ope_ver_fk=" + ope_ver_fk + ", proc_id=" + proc_id
				+ ", prd_grade_fk=" + prd_grade_fk + ", judge_usr=" + judge_usr + ", judge_timestamp=" + judge_timestamp
				+ ", show_flg=" + show_flg + ", act_ng_qty=" + act_ng_qty + "]";
	}

	public DefectInfoBeen2() {
		super();
		// TODO Auto-generated constructor stub
	}

	public DefectInfoBeen2(Ret_prd_jge ret_prd_jge) {
		super();
		this.prd_seq_id_fk = ret_prd_jge.getId().getEvt_seq_id_fk();
		this.path_id_fk = ret_prd_jge.getPath_id_fk();
		this.path_ver_fk = ret_prd_jge.getPath_ver_fk();
		this.ope_id_fk = ret_prd_jge.getOpe_id_fk();
		this.ope_no_fk = ret_prd_jge.getOpe_no_fk();
		this.ope_ver_fk = ret_prd_jge.getOpe_ver_fk();
		this.proc_id = ret_prd_jge.getProc_id();
		this.prd_grade_fk = ret_prd_jge.getPrd_grade_fk();
		this.judge_usr = ret_prd_jge.getJudge_usr();
		this.judge_timestamp = ret_prd_jge.getJudge_timestamp().toString();
	}

	public String getPrd_seq_id_fk() {
		return prd_seq_id_fk;
	}

	public void setPrd_seq_id_fk(String prd_seq_id_fk) {
		this.prd_seq_id_fk = prd_seq_id_fk;
	}

	public String getOpe_dsc() {
		return ope_dsc;
	}

	public void setOpe_dsc(String ope_dsc) {
		this.ope_dsc = ope_dsc;
	}

	public String getDefDsc() {
		return defDsc;
	}

	public void setDefDsc(String defDsc) {
		this.defDsc = defDsc;
	}

	public String getPath_id_fk() {
		return path_id_fk;
	}

	public void setPath_id_fk(String path_id_fk) {
		this.path_id_fk = path_id_fk;
	}

	public String getPath_ver_fk() {
		return path_ver_fk;
	}

	public void setPath_ver_fk(String path_ver_fk) {
		this.path_ver_fk = path_ver_fk;
	}

	public String getOpe_no_fk() {
		return ope_no_fk;
	}

	public void setOpe_no_fk(String ope_no_fk) {
		this.ope_no_fk = ope_no_fk;
	}

	public String getOpe_id_fk() {
		return ope_id_fk;
	}

	public void setOpe_id_fk(String ope_id_fk) {
		this.ope_id_fk = ope_id_fk;
	}

	public String getOpe_ver_fk() {
		return ope_ver_fk;
	}

	public void setOpe_ver_fk(String ope_ver_fk) {
		this.ope_ver_fk = ope_ver_fk;
	}

	public String getProc_id() {
		return proc_id;
	}

	public void setProc_id(String proc_id) {
		this.proc_id = proc_id;
	}

	public String getPrd_grade_fk() {
		return prd_grade_fk;
	}

	public void setPrd_grade_fk(String prd_grade_fk) {
		this.prd_grade_fk = prd_grade_fk;
	}

	public String getJudge_usr() {
		return judge_usr;
	}

	public void setJudge_usr(String judge_usr) {
		this.judge_usr = judge_usr;
	}

	public String getJudge_timestamp() {
		return judge_timestamp;
	}

	public void setJudge_timestamp(String judge_timestamp) {
		this.judge_timestamp = judge_timestamp;
	}

	public String getDefect_side() {
		return defect_side;
	}

	public void setDefect_side(String defect_side) {
		this.defect_side = defect_side;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getDefect_code() {
		return defect_code;
	}

	public void setDefect_code(String defect_code) {
		this.defect_code = defect_code;
	}

	public Integer getDefect_cnt() {
		return defect_cnt;
	}

	public void setDefect_cnt(Integer defect_cnt) {
		this.defect_cnt = defect_cnt;
	}

	public String getDef_typ() {
		return def_typ;
	}

	public void setDef_typ(String def_typ) {
		this.def_typ = def_typ;
	}

	public String getShow_flg() {
		return show_flg;
	}

	public void setShow_flg(String show_flg) {
		this.show_flg = show_flg;
	}

	public Integer getAct_ng_qty() {
		return act_ng_qty;
	}

	public void setAct_ng_qty(Integer act_ng_qty) {
		this.act_ng_qty = act_ng_qty;
	}
	public String getOx_show_typ() {
		return ox_show_typ;
	}
	public void setOx_show_typ(String ox_show_typ) {
		this.ox_show_typ = ox_show_typ;
	}
}
